added sleepdelay to windows shutdown