add another kludge: backup by max time by 24 hours when you detect the same max time from the previous api calls