Simplified request scope middleware using finally block.