Comment unused pool checking code
Get rid of unneeded code and variables.
Fixed IO thread selection logic: if thread claimed some transaction, do not allow other transactions (replies only) to be processed on that thread. Command requests (not replies) can be processed without this logic.