Fix to avoid infinite loop when ob_end_clean() failed.
Reformat.