Add a check to the iterate() so that on failover - it's not possible to iterate for ever if the transport has actually been stopped