error writing "sock5594af643a70": socket is not connected