using core netty for leader election on a cluster