docs: private boolean needsNewSession() {
          if (sessionCredentials == null) return true;
  
          long timeRemaining = sessionCredentialsExpiration.getTime() - System.currentTimeMillis();
          return timeRemaining < (this.refreshThreshold * 1000);
      }