Shutdown hangs and requires a hard reboot