added possibility to clear all messages for a queue