BOOKKEEPER-804: Client program is not terminated when using openLedgerNoRecovery (ivank via sijie)