error writing "sock56468e631a70": socket is not connected