if (failedAttempts >= 12 && timeoutMs < (failedAttempts * 600000)) {
            timeoutMs = (failedAttempts * 600000);
        }