ISPN-5104 Infinite loop in TransactionAwareCloseableIterator when
iterating through cache

Fixed issue where entry was repeated if added to context after
starting a transaction
ISPN-4484 Outbound transfers can be cancelled by old CANCEL_STATE_TRANSFER command

Test