modify the max thread num