error writing "sock562597080b20": socket is not connected