Notes hanging on (not releasing)

I’m using Cubase 12, Windows 10 and a Yamaha CP300 as a controller. Quite often, notes are held on and can only be stopped using MIDI reset or clicking the particular note on the virtual keyboard. This doesn’t happen when using the virtual keyboard. It occurs more often with dreamy or stringy sounds in retrologue and padshop. Any advice would be gladly welcomed