Are you inserting the synth in the FX bin of as track? SONAR supports this, but it tends to be problematic, and dropped note offs is one symptom. You might try increasing the MIDI Prepare Using buffer. 500ms is a good starting point, and you can go higher to see if it helps, but having that to low more often manifests as dropped note
ons.