HDFS-6714. TestBlocksScheduledCounter#testBlocksScheduledCounter should shutdown cluster (vinayakumarb)

(cherry picked from commit 772d1fb01e65ca42ef4365d2a9307da6c2448c3f)