How to close this stream ? - C#