error writing "sock55a31c345b20": socket is not connected