MIDI Port corruption?

    Feb 18 2016 | 3:04 pm
    In some situations my patch stops sending MIDI as it should. Using MIDI monitor (OSX) I found that Max was sending "invalid" messages. Re loading the patch didn't make any difference. Just after closing and opening Max all returned to the expected behaviour.
    After some trails and errors I guess that in some situations sending "out of range" values to a MIDI port, renders that MIDI port unusable.
    So my questions are: - Is this possible? - Is there some way to recover a MIDI port without closing and opening Max?