is there a way to 'break' out of a groovy closure.
maybe something like this:
[1, 2, 3].each { println(it) if (it == 2) break }