The timeout middleware : https://github.com/expressjs/timeout#api seems useful to have to timeout for hanging http requests.
However the middleware documentation mentions it's bad to use it as a top-level middleware (https://github.com/expressjs/timeout#api)
NOTE This module is not recommend as a "top-level" middleware (i.e. do not recommend for use as app.use(timeout(5000))).
Any idea why? Makes me wonder if it should be used at any level at all.