removed unused socket and empty function in delaycontrols