add our own wp_die() handler