Don't cause exceptions by trying to put a non-flowing stream back into flowing mode.

Fixes #38.