Can't reconnect after disconnecting (mac)

I have a MacMini with Catalina and a MacBookPro with Mojave, on both I'm running TeamViewer 15.2.2756.

If I connect from the MacBookPro to the MacMini after booting up the MacMini, it connects no problem.

If I disconnect and try to reconnect later, when I introduce the password for accessing the MacMini (the password for the user on the MacMini, not the password for accessing the remote machine) it shows the loader animation and stays that way...

If I restart the MacMini then I can logon again, no problem.