title: Guzzle async requests waiting for timeout even I use any to wrap around the promise - how can I make it return ASAP?
body: <p>My sample code is below, which basically tries to get a certain URL using a list of proxies. I want to return a result as soon as a proxy returns:</p>
  
  <pre><code>        $response = any(
              array_map(
                  function (?string $proxy) use ($headers, $url) {
                      return $this-&gt;client-&gt;getAsync(
                          $url
                          , [
                              'timeout' =&gt; 5,
                              'http_errors' =&gt; FALSE,
                              'proxy' =&gt; $proxy,
                          ]
                      );
                  }
                  , self::PROXIES
              )
          )
              -&gt;wait();
  </code></pre>
  
  <p>However, whatever the value I set in the timeout, I found out that the whole HTTP request only returns when the full timeout has passed, i.e. 5 seconds in this case. If I change 5 to 10, the whole HTTP request only returns after 10 seconds.</p>
  
  <p>How can I really make it return ASAP?</p>