Velocity =0 is not the same as note off. Technically a velocity of 0 leaves the note on, you just cannot hear it.

Keith