are you sure there isn't a failure further up the list? the mailing_functions script may fail on connecting to the mail server but it wont terminate the send progress script. It will still try to keep track of the progress even though the email server is not responding.