Update the max_threads property to the new value if it permits more threads than the old value.
Setting the max_threads using set_max_threads can clobber the value, so you should prefer to use this method if you want to increase the number of threads.
new_max_threads |
new maximum number of threads |