`parse_buffered_data` held an `Arc<Pane>`, which prevented `read_from_pane_pty` and `parse_buffered_data` from detecting that the Pane was closed.
`parse_buffered_data` held an `Arc<Pane>`, which prevented `read_from_pane_pty` and `parse_buffered_data` from detecting that the Pane was closed.