Asterisk AMI gives multiple messages for one UserEvent

Im having UserEvent in my asterisk dialplan.Its like this

So when this line is executed once i’m getting same multiple messages to my AMI(more than 50 messages).What is the cause of this?.Below is my ami event

more than 50 of these for a one execution of code