Keep track of already processed messages