coreos/fleet — pull request #468 by bcwaldon (2014-05-15 17:12:19+00:00)
Title: Release lock before job actually started/stopped

I'm not really happy with how much worse this makes the Agent API, but it should address the bug at hand. I will work back through this and figure out how to make the Agent/EventHandler relationship feel better.