Fixed wait() and exec() problem. test fail down to 6