code: public void saveLater() {
          if (executor.isShutdown() || savePending.getAndSet(true))
              return;   // Already pending.
          executor.schedule(saver, delay, delayTimeUnit);
      }
docs: Queues up a save in the background. Useful for not very important wallet changes.