Some criteria for the finiteness of cozero-divisor graphs