Simplify Retry, and give up after a few retries.
Fix some bad bash syntax.
Switch exit for return in retry.
Merge pull request #90 from craigcitro/new_retry

Simplify Retry, and give up after a few retries.