/** Stops this instance and removes temporary XMPP account. */ public void stop() { protocolService.removeRegistrationStateChangeListener(this); xmppProviderFactory.uninstallAccount(xmppAccount); }