run_wait/2 and run_wait/3 added