Trying to end the stream response on event unsubscription.