reap pipes when reader goes away

[#82261444]