chroot: suppress error messages if the chroot pipe is closed