error writing "sock556371a96a70": socket is not connected