error writing "sock5623afd16a70": socket is not connected