MODULES-1065: Add ThreadLimit to mod::worker