Rate limit messages by batching them

Ran grunt test.