error writing "sock55808a697a70": socket is not connected