error writing "sock558c9700fa70": socket is not connected