add lock for kill_list
use finally statement to keep job_list_lock acquire/release balanced
Merge pull request #273 from levinas/ff

locks for job_list and kill_list