Start moving shutdown/reboot to main thread