consul: Fixing graceful leave of current leader. Fixes #360.