Fix ConcurrentModificationException in SubscriptionContext