How to avoid upstream timeouts?

NGINX Unit is not going to work properly until they implement this:

https://github.com/nginx/unit/issues/124