Added wait condition again.