Stuck midi notes

Hi,
I set up everything and seemed to work nice with versions 2.2.23 until I started to play my launchkey mk4 connected via usb to my MacBook. I get very often random stuck midi notes. independently of the vst synth I may use. Is there any solution? I tried to change the midi settings but I keep getting these midi errors.