pub fn shutdown(this: Box<dyn ClientTrait>) -> bool
Returns whether the shutdown is considered clean.