Moved killing of local task into work_queue_process.c
Combined kill_task and do_kill.
Factored kill_all_tasks into calls to do_kill.