error writing "sock55e4f9a3da70": socket is not connected