Hi @diana.ofcg what I know on this; is in this thread:
As far as I know there is no youtrack ticket on it as a problem to be solved. Until that happens it’s not likely to be looked at any further.
I would LOVE a simple Rhino Common call that killed a running headless GH dead, but for ‘some reason’ once you launch a grasshopper script without the full GH UI its a zombie until you close Rhino.