fix(server): replace a stale Codex session even with background work pending

A stale process fails auth on every turn, so keeping it for pending
background work only made the next user turn fail with token_expired.
A running turn still keeps the process.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
33fcaf4949Lakshmi Tanmay committed on 10/7/2026, 2:48:47 PMparent39da423
2 files changedLine totals unavailable