async fn settle_piped_exit( login: &Login, exit: Result<ExitStatus>, ) -> Result<(), Ended>
End the session by how the CLI exited, when its output did not already: Err when the session ended first.
Err