use drupal_exit to invoke hook exit