Rather pack this in a do-while itself so it is safe to use as a function (e.g. it's terminated by a semicolon and don't risk to introduce weird behavior if used around other constructs).