Control the number of RangeFetch threads automatically.
Merge pull request #180 from ChenShuang/fix-bugs

Control the number of RangeFetch threads automatically.