Resolve race condition in conf.settings