Background jobs in the UI

Creating a PR for comments.
Here, I stop an Execution with jobStop. It looks like it's waiting for the end of the task to terminated gracefully though. If I use cancelExecution it stops the task immediately.  By doing so, I had some issues like: not being able to re-compile after a stopped compile task, unless I run clean.