configurable maxAttempts
Merge pull request #178 from ripplerm/develop

configurable maxAttempts