A trick that isn't in the manual: If the name of a program is “:>reboot”, a restart is triggered after 65s when the program is started. However, if a program is still running, this will be delayed until the program has ended.
Alternatively, there is “:>reboot_now” , which restarts after 65s, regardless of whether a program is running or not.