Added convenience method to clear all messages from the queue