How to limit the number of password checks?

Hello.
i use haproxy to balance rdp connections
Can I use haproxy to limit the number of password checks? Maybe there is some parameter indicating this?
This is not brute-force, password checks occur without interrupting the connection.
Connected and checks passwords and logins.
On the backend i see the IP server with haproxy and I cannot use the IP restriction.
Thanks.