I had the unfortunate experience of running into "Stuck Notes" using CHAIN PLAY on a Roland MT-300 - in the Rodgers PR-300 version for organs - and finding that unplugging the external midi cables to the oran stops the sound, but then found that the "stuck notes" were not the organ hanging up organ but the MT.
I contacted MIXAGE and Bruno explained that both QMIDI and MIDIKIT would would open the file and then, on saving, insert a RESET to eliminate the problem.
And, to my great delight, it worked. I have used MIDIKIT and QMIDI for years and they both keep getting better.