// both local and clustered execution
private static void clusterKillTopology(Map conf, String topologyName) {
final Client client = getNimbusStub(conf);
try {
client.killTopology(topologyName);
// //Killing a topology right after all the processing is completed
// KillOptions options = new KillOptions();
// options.set_wait_secs(0);
// client.killTopologyWithOpts(topologyName, options);
} catch (final NotAliveException ex) {