/* Removes all tasks with given id. If outside var is
* set then a task can be removed also when
* was set in another plugin. */
native remove_task(id = 0, outside = 0);
So basically if you don't want to mess with other plugins remove_task(id) is ok. And in other case use second parameter == 1.