Use return instead of break

Using break with an argument apparently breaks
(no pun intended) on JRuby.