run cleanup on old actions before processing a new queue