error writing "sock5649bb18da70": socket is not connected