Make AutoConfigManager thread safe