If you want all tasks associated with a player to end, you don't have to do as connorr said. You can just use their id in all of them. Then, when you remove_task, it will remove all tasks in that plugin for that id.
However, if you want finer control over each, do as connorr said.