Fixed threading issue when caching configuration maps