make leader election tougher
add more check
Merge pull request #381 from metamx/fix-leader

Make sure coordinator scheduling stops anytime there is a change in leadership