241242243244245246247248249250251
synchronized (this) { if (connector != null) { try { connector.removeConnectionNotificationListener(this); close(); evt = new ConnectionFailedEvent(System.currentTimeMillis() / 1000, 0); } catch (ListenerNotFoundException ex) { // Ignore } } }