Avoid adding same urls onto the traversal stack