Set the Duration how long the request should wait before retrying.
void setRetryDelay(Duration retryDelay) { this.retryDelay = retryDelay; }