Prevents blocking resources indefinitely. Frame the concept in practical terms so you can explain it during interview discussion.
Managing timeouts is crucial because network requests can hang indefinitely if the server is unresponsive. By setting a timeout, you ensure that your application can recover from slow or non-responsive servers. For instance, `HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(10)).build();` sets a 10-second timeout to avoid hanging connections.
Additional Notes
Why is it important to manage timeouts in HttpClient?