public void disconnect(Protocol protocol) throws RemoteConnectionException {
try {
LOG.log(Level.INFO, "Disconnecting protocol " + protocol.getClass().getName());
protocol.close();
} catch (Exception e) {
throw new RemoteConnectionException("Error disconnecting " + protocol.getClass().getName()
+ " : " + e.getMessage());
}
}