all: use java-7's ThreadLocalRandom
io: remove an expected logging message from SafeCloseUtilTest