code: private void startIdleTimer(long delayInMilliseconds) {
          LOG.fine("Starting idle timer");
          if (this.idleTimer != null) {
              idleTimer.cancel();
              idleTimer = null;
          }
          
          idleTimer = new Timer("IdleTimer", true);
          idleTimer.schedule(new TimerTask() {
              
              @Override
              public void run() {
                  idleTimerHandler();
              }
              
          }, delayInMilliseconds);
      }
docs: ------------------------------Idle Timer Start/Stop/Handler---------------------//