error writing "sock5640f299ca70": socket is not connected