Use poweroff instead of shutdown.