ui/ncurses: in lockdown ensure system reboot in ncurses menu exit