error writing "sock55774b397a70": socket is not connected