Wait for the config file to be written.