Middleware: handle failure to call next().

Exits with an error after a timeout.
0.1.6