class_docstr: A chat world in which an image is shown to the worker and bot at the beginning.
class_docstr_tok: ["A","chat","world","in","which","an","image","is","shown","to","the","worker","and","bot","at","the","beginning","."]
code: def shutdown(self):
      if not self.chat_done:
          # If the HIT was not completed, remove this worker from the stack
          worker = self.agent.mephisto_agent.get_worker().db_id
          self.image_stack.remove_worker_from_stack(
              worker=worker, stack_idx=self.image_idx
          )
  
      self.agent.shutdown()
  
file_path: ParlAI/parlai/crowdsourcing/tasks/model_chat/worlds_image_chat.py
imports: from tempfile import NamedTemporaryFile
  from typing import Any, Dict, List, Tuple
  from parlai.core.image_featurizers import ImageLoader
  from parlai.core.message import Message
  from parlai.core.worlds import validate
  from parlai.crowdsourcing.tasks.model_chat.utils import Compatibility, get_image_src
  from parlai.crowdsourcing.tasks.model_chat.worlds import BaseModelChatWorld, get_bot_worker
label_desc: Use image node_id 6 for calling the ModelImageChatWorld obj's underlying member method code with example usage: obj.shutdown() without return types