delete lumi based MEs when the LS processing is over

forward port of #5682 to 72