@Override
      protected void terminated() {
        super.terminated();
        ScheduledThreadPoolExecutorWithKeepAlive.super.shutdown();
      }
A ScheduledThreadPoolExecutor which allows threads to time out after the keep alive time. With
the normal ScheduledThreadPoolExecutor, there is no way to configure it such that it only add
threads as needed.

<p>
This executor is not very useful if you only want to have 1 thread. Use the
ScheduledThreadPoolExecutor in that case. This class with throw an exception if you try to
configure it with one thread.
geode-core/src/main/java/org/apache/geode/internal/ScheduledThreadPoolExecutorWithKeepAlive.java