func (r *ScanReconciler) checkIfScanIsCompleted(scan *executionv1.Scan) error {
    ctx := context.Background()

    status, err := r.checkIfJobIsCompleted(scan, client.MatchingLabels{"securecodebox.io/job-type": "scanner"})
    if err != nil {