code: def close_all(self):
      while self.loaded_models:
          self._close_oldest_model()
  
imports: from collections import OrderedDict
  import gc
  import logging
  import functools
  import psutil
  from finetune.target_models.sequence_labeling import SequenceLabeler
  import tensorflow
  from finetune.base import BaseModel
  from finetune.custom_ops import BytesInUse, BytesLimit, MaxBytesInUse
  from finetune.errors import FinetuneSchedulerError
label_desc: Use image node_id 7 for calling the Scheduler obj's underlying member method code with example usage: obj.close_all() without return types