Commit r1662 upstream uses registry key in favor of hardcoded list of processnames. Test would include enabling Profile Quota which starts process (proquota.exe) on a terminal server this is done in group policy: User COnfigure->Adminsitrative Templates->System->User Profiles
Vendordropped with commit r25390
http://blogs.msdn.com/b/rds/archive/2007/09/28/terminal-services-remoteapp-session-termination-logic.aspx
Citrix has theire own list: http://support.citrix.com/article/CTX891671
Seems to work fine.