Get data from api periodically - C#