Users can configure the number of worker threads however when it's
not specified the calculated number of workers can get too large on
hosts with a large number of CPUs.
Change-Id: I6c950cc31b66479dc980ecd5eb580d403dd27ae6
(cherry picked from commit f83296e073)