Try changing retry ceiling logic