Update coverage module to correctly handle ob_end_clean in case of exception thrown