protected function pushRetryMiddleware(callable $decider, callable $delay = null)
    {
        $this->stack->push(
            Middleware::retry($decider, $delay), 'hubtel-retry-request'
        );

        return $this->stack;
    }