title: AsyncHttpClient Connection Timeout not working
body: <p>I'm using <a href="https://github.com/AsyncHttpClient/async-http-client" rel="nofollow">AsyncHttpClient</a> to make HTTP request through proxy server, but seems connect timeout not working, even if I configured it to be 65 seconds (proxies can work very slow). </p>
  
  <p>I'm receiving <code>java.util.concurrent.ExecutionException</code> backed by <code>java.net.ConnectException</code> (i.e. application don't wait until proxy server return response) after 0-20 secs (i.e. timeout is random every time)</p>
  
  <pre><code>   Integer timeout = 65000 // 65 secs
     AsyncHttpClientConfig cfg = new AsyncHttpClientConfig.Builder( ).
                  setConnectTimeout( timeout ).
                  setRequestTimeout( timeout ).
                  setAcceptAnyCertificate( true ).
                  setUserAgent( userAgent ).
                  setProxyServer( new ProxyServer( proxy.ip, proxy.port ) ).
                  build( )
  
        AsyncHttpClient client = new AsyncHttpClient( cfg )
  
        Response response = client.prepareGet( url).execute().get()
  </code></pre>