Clean shutdown and reboot of machines.