error writing "sock563ea9681b20": socket is not connected