Try adding drupal_exit.