Use nanoTime to calculate request duration