Make the number of threads for the pipeline test variable.