Don't close output streams/writers on eof.
Implement ClosingPipe.