add thread support for concurrent provision