Docstring of `kill-tasks` mention that it only affects running tasks. Is there a way to remove pending tasks?