consumer: get all waiting items from queue at once and add to a list