'Called when a worker has exited.
:param int pid: The PID of the worker that exited.'

def register_worker_exit(self, pid):

    self.logger.error(('Removing    dead    child    %s' % pid))
    self.children.remove(pid)
