Add missing setShutdownStarted hooks