Different behavior - Script Compiler YAK vs Script Editor

There is a slight aside to this to be found on this post:

THIS behavior is in fact SO MUCH CLOSER to what I would actually like in this process which is to have control over when the GH based command closes.

Cheers

DK