Change wp_die function