Fix a long standing bug that hung TS if JtR crashed.