wait for exec callback