POSIX shell: in EXIT trap, check if the angel function exists