Limit API refreshes to every 5 seconds