This is called after looping through every queue. Not sure of another way to do it.