Description
In flight statistics were enhanced back in AMQ-5837 and I noticed a small edge case issue for Topic subscriptions where the in flight count on the destination the topic subscription was consuming from would not be properly decremented on Topic subscription failure due to dispatch failure or on subscription close. We just need to make sure on failure/close the stats are updated properly (Prefetch subs already do this for queues/durables). I will push a small fix for this and a couple new tests.