Midi Key Release / Pause Until Conditions Met


I have Keyboard Maestro triggering a midi note to my DAW.

I've figured out how to make Keyboard Maestro trigger the midi note, but then I want keyboard maestro to also until the note is lifted. (it's meanwhile triggering a mouse action),

What I would normally do is use Pause Until Condition Is Met (in this case the midi-off message I guess?), but there is no midi option in that menu?

I've done this with keystrokes...pause until key is lifted, but there is no pause until finger is lifted off the note or midi-off or whatever?