code: public static void configureConnectionSettings(final Request request, final InstagramConfig config) {
          request.setConnectTimeout(config.getConnectionTimeoutMills(), TimeUnit.MILLISECONDS);
          request.setReadTimeout(config.getReadTimeoutMills(), TimeUnit.MILLISECONDS);
  
          // #51 Connection Keep Alive
          request.setConnectionKeepAlive(config.isConnectionKeepAlive());
      }
docs: Configure the request with the connection settings of config
  @param request OAuthRequest object
  @param config InstagramConfig object