Added code to kill all chroot processes before unmounting it