remove the amqp application when clearing