class_docstr: Dispatcher object that communicates and coordinates individual workers.
  
  Warnings
  --------
  There should never be more than one dispatcher running at any one time.
docstr: Terminate all registered workers and then the dispatcher.
docstr_tok: ["Terminate","all","registered","workers","and","then","the","dispatcher","."]
code: def exit(self):
      """Terminate all registered workers and then the dispatcher."""
      for workerid, worker in self.workers.items():
          logger.info("terminating worker %s", workerid)
          worker.exit()
      logger.info("terminating dispatcher")
      os._exit(0)
  
imports: import argparse
  import os
  import sys
  import logging
  import threading
  import time
  from queue import Queue
  import Pyro4
  from gensim import utils
  from gensim.models.lda_worker import LDA_WORKER_PREFIX
label_desc: Use image node_id 10 for calling the Dispatcher obj's underlying member method code with example usage: obj.exit() without return types