code: static void close(LedgerHandle handle) throws DurableDataLogException {
          try {
              Exceptions.handleInterrupted(handle::close);
          } catch (BKException bkEx) {
              throw new DurableDataLogException(String.format("Unable to close ledger %d.", handle.getId()), bkEx);
          }
      }
docs: Closes the given LedgerHandle.
  
  @param handle The LedgerHandle to close.
  @throws DurableDataLogException If an exception occurred. The causing exception is wrapped inside it.