code: func Close() {
  	logger.Infof("Closing ledger mgmt")
  	lock.Lock()
  	defer lock.Unlock()
  	if !initialized {
  		return
  	}
  	for _, l := range openedLedgers {
  		l.(*closableLedger).closeWithoutLock()
  	}
  	ledgerProvider.Close()
  	openedLedgers = nil
  	logger.Infof("ledger mgmt closed")
  }
docs: // Close closes all the opened ledgers and any resources held for ledger management