I would avoid defining a closure and calling it immediately for non-HHVM. Just put the ``$kernel->terminate($request, $response);`` call directly.