Wait after rebooting and cleaning up