Limit concurrent tasks to the number of cores (rudimentary).