Don't crash the next execution after cancellation
Don't crash the next execution after cancellation

- don't start new function executions on the injected cancellation thread
- flush single-step events before ending the trace to restore breakpoints

team-worm/spice,team-worm/spice,team-worm/spice,team-worm/spice