public void stop(int index, boolean cleanWorkingDir) {
    closeAndCheckForSuspects(index);
    occupiedVMs.get(index).stop(cleanWorkingDir);
  }
gracefully stop the member/client inside this vm

if this vm is a server/locator, it stops them and cleans the working dir if this vm is a
client, it closes the client cache.

@param index vm index
geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/ClusterStartupRule.java