Those commits handle some not yet detected cases where cancel didn't correctly stop the ongoing code execution.