Deflake E2E waits for background app operations (#4242)