Made sure that replicated queues are killed on clear call