error writing "sock562abcc77a70": socket is not connected