Implement leader/standby modes