`signal_task_complete` is not in the `openquake.calculators.hazard.general` module. Please, update your branch according with the last change in the task distribution logic.