error writing "sock558d5f047a70": socket is not connected