Changed the demo chunk size.
Added a check for closed stream to detect bugs in stream reuse.
Updated to v1.2