ISPN-4471 MapReduceTask: memory leak with useIntermediateSharedCache 

Master only. See https://issues.jboss.org/browse/ISPN-4471 for more details
Right, I don't. Good point. Although I think the accompanying test here that checks how tmp cache was indeed cleared might fail. Will see what  can do.