code: def close(self) -> None:
          
          while self.wdl:
              _, wdl = self.wdl.popitem()
              wdl.close()
  
          while self.dtz:
              _, dtz = self.dtz.popitem()
              dtz.close()
  
          self.lru.clear()
docs: Closes all loaded tables.