leader election without timer