Keep a reference to the underlying stream