Is this required? I guess it creates race-conditions for any code using the config during shutdown.