Report to the debugger client that the trace is done executing when the ...

...last task from the debugged task group exits.

Resolves #870.