error writing "sock563d6a019a70": socket is not connected