Added thread support for UoW provider