Add option to limit parallelism.