error writing "sock5647d850ba70": socket is not connected