to fail if we access non-permanently available resources (peers, web
pages) and want to fail fast without repeating the same request which is
doomed to fail. The previous appearance of http client connection had a
1-2-4-8-second timeout scheme, which caused that connection attempts
lasted for 16 seconds.
this.setHttpRequestRetryHandler(newDefaultHttpRequestRetryHandler(0,false));// no retries needed; we expect connections to fail; therefore we should not retry