handle report_end(END_FAIL). close #104.