Ranking cache if return ranking value is empty

Added checking heat status if heat is still ongoing will fetch from
server else stop fetching. (currently comment waiting for backend to
have variable created)