error writing "sock563c19422a70": socket is not connected