Just a way to make sure that once a task is no longer active, its status stops changing.