fix license check, only run for active licenses and run max once per day (even if it fails)