code: public void close(long timeout, TimeUnit timeUnit) {
  
          disable();
  
          for (GetJobsAction<K, V> getJobsAction : actions) {
              getJobsAction.close(timeout, timeUnit);
          }
  
          if (reconnectTrigger != null) {
              reconnectTrigger.unsubscribe();
              reconnectTrigger = null;
          }
      }
docs: Unsubscribe and close the resources.
  
  @param timeout
  @param timeUnit