error writing "sock562d70883a70": socket is not connected