How soon after task is complete should the state be changed?