the first log did, when the middleware is initially run, but the returned function never executes.