Fixed new scheduler id handling and duplicate socket destruction send to host.