Fixed uninitialized value causing some systems to think a stream is open when its not.