pub fn end_session()
Prematurely end a session before it is done automatically by shutdown.
shutdown
// end session prematurely end_session(); // run some code that isn't part of the session println!("If this fails, it will not be recorded as part of the session!");