Added close for BufferedStream with Accepted Solution