I have a Java client that uses HttpClient to connect to a server and wait a response. The response may return after a long time (the client essentially waits for an event from the server).
Other than using timeouts, is there a way to detect when the server crashes?