error writing "sock56181d6a2b20": socket is not connected