Allow to set max retries.
Merge branch 'master' of github.com:yola/demands into add-max-retries
Merge pull request #18 from yola/add-max-retries

Allow to set max retries.