API endpoint for stopping the execution of tasks

Don't you want to finish the request and return directly after hitting this ser