Mitigate the race condition when zookeeper and hbase master are starting at the same time