Wait for mailer response before exiting