disconnect
Disconnect the current user, stop all observers and clear user data. This method should only be used whenever the user logouts from the main app. You shouldn't call this method, if the user will continue using the Chat in the future.
Return
Executable async Call which performs the disconnection.
Parameters
flushPersistence
if true will clear user data.