adding todo about impl detail of awaitLeaderElected