pub fn take_nostr_client() -> Option<Client>
Atomically take the current Nostr client out of global state. Used by reset_session() so the post-take shutdown call doesn’t race with new readers.
reset_session()