added cancel of scheduling on stop