error writing "sock55f38165db20": socket is not connected