Dorico/Cantai persistent sustain on MIDI input

The problem may be related to this (a Mac problem rather than Dorico/Cantai)
(There are numerous similar threads)