As the title says, even if I can make the connections that I want between different midi devices in both Aconnectgui and Patchage, after waiting for a while, the connections are removed and I have to redo them.
I tried disabling amidiauto (described here), which I thought might do something in the backround, but the problem still persists.