stress2: Change fixed number of test loops to timed loops. This to improve testing with qemu.
stress2: Initial import Discussed with: kib