refactor[ats_ATS112118]: Do not process events when cache is not loaded

Change-Id: I83f0adc9f3d9f0ee0e7121e11f84e25b9254474b