sesh
pub fn close(s: End) -> Result<(), Box<dyn Error>>
Closes a session. Synchronises with the partner, and fails if the partner has crashed.