error writing "sock56071675fb20": socket is not connected