Avoid infitive loop