Fixing Failover test that was hanging eventually
check-direct optimization, this will use a lot of cpu when having too many queues or subscriptions