Concept Flow - Timeout interceptor
Request received
Interceptor starts
Start timer
Call next handler
Wait for response or timeout
Response
Send response
Request ends
The interceptor starts a timer, calls the next handler, waits for response or timeout, then either sends the response or throws a timeout error.