error writing "sock5641e8773a70": socket is not connected