Setting closed=True will remove the task from the list completely. You want to delete any associated Student rows from the Task to "unclaim" it. 

Probably something like:

my_task.student_set.all().delete()

There should probably be an unclaim() method on the Task model that handles this, so it's easily testable.