error writing "sock56393b6a9b20": socket is not connected