Hot to running only once animation

Godot Version

4.4

Question

I am trying to implement an attack animation; It looks like working but despite than running just once, It just runs in loop,. I defined this code:

func _ready() -> void:
	$AnimatedSprite2D.animation_finished.connect(_on_animation_finished)

func _on_animation_finished() -> void:
	if $AnimatedSprite2D.animation == "ATT":
		print("done animating ATT!")

But It get to be ran forever..

Is it set to looping?