Fixed Issue #4: 1.9.2. Stream is closed and disposed immediatelly after ...

The stream will remain open, that is, it will not be closed anymore.
I've also written a test to prevent regression.