error writing "sock558d322a4a70": socket is not connected