HBASE-11709 TestMasterShutdown can fail sometime