void terminateAllLookups() throws TestException, IOException {
logger.log(Level.FINE, "destroying each lookup service ...");
Iterator iter = genMap.keySet().iterator();
for(int i=0;iter.hasNext();i++) {
Object curObj = iter.next();
ServiceRegistrar regProxy = null;
if(curObj instanceof DiscoveryProtocolSimulator) {
DiscoveryProtocolSimulator curGen
= (DiscoveryProtocolSimulator)curObj;
regProxy = curGen.getLookupProxy();
curGen.stopAnnouncements();