avoid config file race condition