pub fn deauthenticate_server() -> bool