Check master is reachable before chcking master is alive