Add method to store config immediately.

For use by the shutdown service to be sure we don't lose pending config changes on shutdown.