public synchronized void connectionEvent(final BOSHClientConnEvent connEvent) {
            if(connEvent.isConnected())
                return;

            disconnectReceived.set(connEvent);
            this.notify();
        }