error writing "sock558cf5366a70": socket is not connected