Small cleanup in pipe.cpp