It is possible to limit the maximum number of threads in a row.