Fade out when stopping an event

I have a AHDSR on en event and I want to to fade out when stopped, but it seems to instantly stop (or fade very fast). All the AHSDR value are 1 sec, but I increased them to the 10sec as a test and no change. I am I doing something wrong? The AHSDR is attached to a multi-instrument in the event, if that matters

I call calling this in my code to stop the event:

FMOD_Studio_EventInstance_Stop(instance, FMOD_STUDIO_STOP_ALLOWFADEOUT);

I am using FMOD 2.03.