remove_chroot_jail: better handling of loop file at the end.