Midi out of sync after one loop

Hi there
My problem is probably known for some who experienced it.
Midi being sent to external synths is getting out of sync after one loop.
Tried about every option in the synchronization menu plus buffer size and asio guard.
Does anyone had this problem and actually solved it?
Windows 10 Cubase 11