Batch executeReadyPeriodicTasks() updates to avoid OOMs

Change-Id: I70aaeddef972d370a8e9d81e60dec7ae0fda928c