error writing "sock558f1f635a70": socket is not connected