I prefer a void method schedule and unschedule or something instead of this.

Keep the task ID as a reference to remove scheduled task.