HBASE-5603 rolling-restart.sh script hangs when attempting to detect expiration of /hbase/master znode