Make sure the scheduler is being removed.