API endpoint for stopping the execution of tasks

Yep you're right, my bad.