Limit nThreads to number of tasks