Fix debugger output transmission after program termination for remote debug and save_signatures mode (PY-13861).
Kill CheckOutputThread on stoptrace (PY-12782).
Merge remote-tracking branch 'origin/master'