Use ThreadLocalRandom where possible