Insert patch to make IPC work runnables cancelable.