Done action :2 , still on server

Copy pasted a piece of code from one of the examples files , inserted doneAction:2 , yet it still remains on the server

(
{

        arg gate=1, pitch=50, amp=0.1;
		var env1, env2, out;
		pitch = Lag.kr(pitch, 0.12 * (1-Trig.kr(gate, 0.001)) * gate);
		env1 = EnvGen.ar(Env.new([0, 1.0, 0, 0], [0.001, 2.0, 0.04], [0, -4, -4], 2), gate, amp,doneAction:2);
		env2 = EnvGen.ar(Env.adsr(0.001, 0.8, 0, 0.8, 70, -4), gate,doneAction:2);
		out = LFPulse.ar(pitch.midicps, 0.0, 0.51, 2, -1);

		out = RLPF.ar(out, (pitch + env2).midicps, 0.3);
		out = out * env1;

}.play
)

Edit found it , setting release node to 3 fixed it

Good practice to initialize the gate to an open state.

… but then, to stop the synth, you need to close the gate. It won’t be done automagically for you.

a = { ... my synth ... };

// listen to it for awhile

a.set(\gate, 0);  // or a synonym a.release;

hjh