error writing "sock562953684a70": socket is not connected