Move app_cfg idle into its own thread.