Stop traversing the list once the traversal result can no longer change.