ArrayList list = (ArrayList) profilesTable.get(mc);
if (list != null) {
for (Iterator i = list.iterator(); i.hasNext(); ) {
ProfileServer p = (ProfileServer) i.next();
try {
p.terminate();
} catch (Exception e) {
if (logger.debugOn()) {
logger.debug("removeProfiles",
"Got an exception to terminate a ProfileServer: "+p.getName(), e);
}