Added wait for results.