Picky comment:
```java
TimeUnit.NANOSECONDS.toMillis(duration);
```

reads a lot better...