Maximum allowed number of retries for a particular status

Partial fix for https://github.com/Rise-Vision/developer-hub/issues/23
Merge pull request #6 from settinghead/master

Maximum allowed number of retries for a particular status