Add a retry-attempts option.
Merge pull request #28 from antoox/add-retry-attempts-option

Add a retry-attempts option.
Prepare new version
Merge pull request #29 from odolbeau/prepare-new-verison

Prepare new version
Fix the retry attempts number when no option is defined.