Catch exceptions thrown in child process that runs in chroot