enable setting the max_attempts config option
Merge pull request #39 from manveru/master

enable setting the max_attempts config option
Use a private random number generator
Merge pull request #41 from hailocab/randseed-up

Use a private random number generator