error writing "sock563d1e730a70": socket is not connected