def METHOD_NAME(self, instance_id):
    suspended = Submission.objects.filter(
        queuedjob__state="SUSPENDED", problem_instance=instance_id
    )
    for submission in suspended:
        QueuedJob.objects.filter(submission=submission).delete()
        submission.problem_instance.controller.judge(submission)