activePid on the session record identifies the CoAgent8 server process that
owns the turn lease, not the backend CLI child process. If activePid belongs
to another live CoAgent8 server process, cancellation is refused rather than
signalling a foreign process.
Cancels the active turn of a session owned by this CoAgent8 server process, or recovers a stale turn lease left by a dead owner process.