class_docstr: This will preoritically query data from cache-service
class_docstr_tok: ["This","will","preoritically","query","data","from","cache-service"]
code: def stop(self):
      self.stop_event.set()
      self.thread.join()
  
file_path: singa/examples/model_selection/TRAILS-Database-Native-Model-Selection/internal/ml/model_selection/src/dataset_utils/stream_dataloader.py
imports: import queue
  import threading
  import requests
  import time
  from src.logger import logger
label_desc: Use image node_id 6 for calling the StreamingDataLoader obj's underlying member method code with example usage: obj.stop() without return types