pubsub: Implement unsubscribe for subscriptions.