ISPN-4745 Cluster Listener TX Batch incorrect when sending multiple
events

* Fixed typo where the events were sent inside the for loop