HDFS-5404: fix MiniDFSCluster leak in TestPathBasedCacheRequests