BZ-1076633 - TaskModelProvider is not thread safe
(cherry picked from commit 57bb84c1b976614d864aaa4602f44d3351ecaff9)