[x] stream: unpipe once
Depending on stream implementation unpipe
could be called twice.
Also a minor optimizattion on removing the end
listener.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines