error writing "sock56509a8b0a70": socket is not connected