Allow streams to close repeatedly.
Close streams when they're exhausted.
Prevent double-closure.