disconnect

public static void disconnect()

Disconnects from the server while keeping the push channel alive.

Call this when the user logs out but still wants to receive push notifications. Use logout to also close the push channel.