1. Open Terminal and get the admin rights
sudo su
2. List the running processes
ps -ax
or
ps -aux
3. Look for the PID. The PIDs are usually shown in the first column
PID TTY STAT TIME COMMAND
4. Replace the <PID> parameter with the specific ID for the task(s) you consider
kill <PID>
Enjoy it !