add a bit of timing to avoid oraclejdk failures