error writing "sock55748f904a70": socket is not connected