thread number control maximum in 10