protected function alterTimeoutCallValue(array $options)
    {
        $timeoutValue = null;
        if ($this->isInitialCall === true) {
            if ($this->hasOption(self::OPTION_INITIAL_CALL_TIMEOUT)) {
                $timeoutValue = $this->getOption(self::OPTION_INITIAL_CALL_TIMEOUT);
            }
        } else {
            if ($this->hasOption(self::OPTION_NEXT_ITEM_CALL_TIMEOUT)) {
                $timeoutValue = $this->getOption(self::OPTION_NEXT_ITEM_CALL_TIMEOUT);
            }
        }

        if (!is_null($timeoutValue)) {
            $options[self::OPTION_ENGINE_CLIENT]['options']['http_client_options']['timeout'] = $timeoutValue;
        }
        
        return $options;
    }