error writing "sock562568beaa70": socket is not connected