Debugger: doesn't detect client exit
To reproduce:
- debug and stop on a breakpoint on windows
- kill the client process (activity monitor -> force quit)
Client process terminates, cmake keeps looping in the SessionThread (payload is empty).
To reproduce:
Client process terminates, cmake keeps looping in the SessionThread (payload is empty).