fix wait_each in examples.diskperf

Fix the wait_each function arguments in examples.diskperf