No need for sudo when waiting for reboot.