Closable stream