Pop all messages off the queue at each loop.