usage: allow pluggable die-recursion checks