error writing "sock557f45701b20": socket is not connected