Added configurable options for retry settings, documented the settings in the readme