Is this a race condition? How can we be sure the config has been fetched before we reference it in `setTimeout`?