error writing "sock563f712dfa70": socket is not connected