code: public void destroyCleanupTerminatedInstanceTimer() {
          cleanupTerminatedInstancesScheduledFuture.cancel(true);
          cleanupTerminatedInstancesScheduledFuture = null;
          cleanupTerminatedInstancesTimer.shutdown();
          cleanupTerminatedInstancesTimer = null;
      }
docs: Cancel the internal timer of cleaning up terminated mock ec2 instances.