Fixed memory leaks for #86360: High memory consumption in 2.76TeV p+p RAW reco jobs