Destructor.
~stream();
A stream object must not be destroyed while there are pending asynchronous operations associated with it.
stream