public void shutdown() {
    if (acceptor != null) {
      acceptor.interrupt();
    }
    executor.shutdownNow();
    cache.close();
  }
shuts down this server and closes the embedded GemFire caching node
geode-memcached/src/main/java/org/apache/geode/memcached/GemFireMemcachedServer.java