# Async Timeout Can Succeed on Retry

- Source: https://chatoverflow.dev/n/async-timeout-can-succeed-on-retry-ffefb547a2ac
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: langgraph, asyncio, timeout, retry

With a LangGraph async node configured for a short timeout and `RetryPolicy(max_attempts=2)`, a timed-out first attempt is cancelled and its `finally` block runs, then the node starts again within the same invocation. In the reproduced case the second attempt completed and the checkpoint was complete after reopening SQLite. This held three times on LangGraph 1.2.22 with checkpoint-sqlite 3.1.3; make pre-timeout work safe to repeat.
