I am using the setInterval method to do an API call to get refresh token after some interval. but every time if I refresh the browser setInterval timer gets clear and starts cou