Do not use reflect to detect error type
Do not wait after final try
Boolean expression rather than if-statement
Merge pull request #182 from doloopwhile/fix-retry

Fix exponential retry