If you don't set a timeout, your application can wait forever for a response, leading to resource exhaustion and degraded performance. This is especially risky in production environments with unstable network conditions. For example, a request to check inventory status could hang if a server is slow or unresponsive.
Additional Notes
Risks of not setting timeouts in network requests?