Use bash to try all reboot commands at once; make sure we sleep a few seconds regardless of the command used.