calculate concur & reqs more easily

Before i is increated to (config.thread_count - 1), rest_concur has been decreased to zero.
In such case, diff is always 1 in loop. It is unnecessary to calculate diff.

Note that original logic '(i == config.thread_count)' is wrong, it should be '(i == config.thread_count - 1)'.