I have a function in angular which return data set with status "Continue" or "finished". I want to keep hitting the call until status returns "finis