delete(); return; } $svc = new PlagiarismService(); $svc->runPollStatus($checkId, $attempt); $job->delete(); } }