leader election for consul