Added wait till evaluates to true.