error writing "sock55d04c5edb20": socket is not connected