Todos for API change
Working scheduling of task and cancellation