Count the actual number of active tasks, rather than the active threads
in the pool, when determining whether to submit more jobs to the pool.