def METHOD_NAME(self, params):
    """
    _terminate_
    Kill the code after one final pass when called by the master thread.
    """
    logging.debug("terminating. doing one more pass before we die")
    self.algorithm(params)