Batched resumed delayed
Converted new_messages to a set, thinking that's better
Merge pull request #301 from NielsZeilemaker/delayed_batching

Batched resumed delayed