error writing "sock559b1bb3da70": socket is not connected