Generally, most remote hardware doesn’t echo incoming midi messages, that’s why it doesn’t cause a midi feedback loop.
But just the other day, there was somebody who had built their own midi hardware controller and it echoed the incoming midi messages, leading to exactly that - an endless midi loop freezing his Cubase
p.s. I was able to identify the problem for him, although he gave himself the credit for the solution in the forum software. Oh well, some people …