The problem with that is, it is cleared every RESUBMIT_INTERVAL in a different thread and then stages are submitted. Which is difficult to capture and then I was avoiding changing any existing functionality, so that explains keeping a separate variable and it is slightly different in that sense.