Fix recursion with proper arrest condition.
Fix bug in exception printing.
Merge pull request #235 from TheTorProject/fix/lookup_failures

Fix/lookup failures