ZOOKEEPER-1361. Leader.lead iterates over 'learners' set without proper synchronisation. (Henry Robinson via mahadev)