Prune instead of continue when hitting a completed task