Fixed controll script to kill processes on exit.