`retryDelay` as function