Fixes and wait for the end of request before refreshing conf.