When EG freezes, there is no way of knowing which EG session to kill.
Variable SYSJOBID gives the SAS server proces number.
A way to know the local EG process number would allow us to save it somewhere (a text file saved in the work directory at connection time for example).
A startup option to have this process number added to the window title would be another way to deal with this ongoing problem.