packer: closed pipe is caught [GH-875]