use drupal_exit to invoke exit hook