Change thread param from 0 to auto.