don't terminate subscriptions before they should be (issue #5063)