} else {
/*
* If we get disconnected then do nothing
*/
c.addDisconnectListener(new DisconnectListener() {
@Override
public void notConnectedEvent(Exception e) {
logger.error("OmniConnectionThread was disconnected, will try again", e);
connected = false;
}