error writing "sock55a97c0b7b20": socket is not connected