handshakingByHost_Type.put(cid, serv);
// Apparently some servers open more than 1 connection and apparently
// this is correct. So, let's try to not stop the old connection if it
// it accept type....
if (old_serv != null
&& old_serv.connectionType() != ConnectionType.accept) {
log.finest("Stopping old connection for: " + cid);
old_serv.stop();
}
}
}