How about making this a local method `def loop` inside `pollForWork`? We've used that conventions elsewhere. Might also be worth a comment to say that you've intentionally left `pollForWork` itself non-final for flexibility in the IDE.