public function doEpoch($functionName, $workload, $epoch, $unique = null)
    {
        $set = $this->createSet($functionName, $workload, $unique, Task::JOB_EPOCH, $epoch);
        $this->runSet($set);

        return current($set->tasks);
    }