error writing "sock560fda1f4a70": socket is not connected