Avoid stopping the clock as this will pause until the clock is low, instead just turn the clock off.
Turn the ports off too during shutdown.