Close by stable identity. If the handle rotates between resolution and close, refresh by ptyId and retry once instead of treating a stale handle as a successful stop.
Close by stable identity. If the handle rotates between resolution and close, refresh by ptyId and retry once instead of treating a stale handle as a successful stop.