Added cap for retryDelay