code: protected Executor executor(final String name) {
      return new Executor() {
        @Override
        public void execute(@Nonnull Runnable command) {
          Thread t = new Thread(command, programName + "-" + state);
          t.setDaemon(true);
          t.start();
        }
      };
    }
docs: Creates a new executor that execute using new thread everytime.