error writing "sock56111de81a70": socket is not connected