Fix subscriptions not being unsubscribed.