fix delayed reboot