Why does it matter if the feature is enabled or not? Shutdown should unregister eventDispatcher regardless.