Make config data thread safe.