This section provides a code example for disconnecting from a stream in .NET.
At the end of processing, the example disconnects the subscription:
subscription.Disconnect();