'Shutdown this pool, terminating all worker process. The pool cannot
be used after a shutdown.'

def shutdown(self, wait_time=0.1):

    self.shutting_down = True
    self.events.put(None)
    self.shutdown_workers(wait_time=wait_time)
