I've implemented it, but not in that particular loop -- instead each processing thread just stops after the current article, then the countdownlatch counts down as normal.