Elasticsearch 3 node cluster failing if master is down second time

Thanks, currently i am testing 3 nodes cluster on my mac ( single machine) . maybe that is the reason.
anyhow , sometimes i am able to connect to the cluster sometimes not. will debug more.