public function tooManyFailures($key, $maxFailures, $decayMinutes = 1)
    {
        if ($this->cache->has($key.':breakout')) {
            return true;
        }

        if ($this->failures($key) > $maxFailures) {
            $this->cache->add($key.':breakout', Carbon::now()->getTimestamp() + ($decayMinutes * 60), $decayMinutes);

            $this->resetFailures($key);

            return true;
        }

        return false;
    }