refine the thread pool adjust algorithm, more acurate.