Make loop termination more explicit.