Cleanup the startup sequence.