error writing "sock562c49205a70": socket is not connected