ThreadPool can get thread number from 0..n