Eng 5310 last batch drain

Eng 5310. Catch the last batch (or even before) race conditions where failures are not put on queue before eod and thus not processed.