Instead of this, why not add a submissionTime field on Stage? It would make it easier to garbage-collect data (otherwise we'll have this hashmap that can keep growing).