error writing "sock558ce1302a70": socket is not connected