error writing "sock558eab064a70": socket is not connected