synchronized (eventListenerList) {
Iterator<EventListener> iterator = eventListenerList.iterator();
while (iterator.hasNext()) {
EventListener listener = iterator.next();
try {
listener.onEvent(jid.getUser(), event);
} catch (Exception e) {
logger.debug("eventListener exception (unregister): ", e);
iterator.remove();
}
}