Invalidates and deallocates internal data used by the specified stream.
Status : Status that indicates if the operation succeeds.