Hanging MIDI Notes

I just made a discovery that has only added to my confusion. I installed Logic X and tried it out and the problem isn’t limited to Cubase. I get stuck notes in Logic X as well. So I think either there is some issue with the way my iMac is handling MIDI data or the interface could be choking on the data being sent to it from the iMac. I’ll try different cables and see what happens.