Checks health before accepting every scanner batch, also recovers from errors without having to restart.