Fix flaky test by only catch relevant the AddOrUpdateEvent and RemoveEvent. Bug: 294685851 Test: atest CtsNetTestCases Change-Id: Ia12e51a6527f1e23610fdb0bea1068ebb5b80a73