error writing "sock558f725e2a70": socket is not connected