reuse the buffered streams in PassByPipe