error writing "sock55698ef10a70": socket is not connected