Set the http client connection timeout to 2 seconds to provide quicker feedback to the user when the server is unavailable.