Made configurable time delay for retries.