added stats check to cloud queues