Assess healthiness by factoring in periodOfTime Modify the health check so that it reports healthy only when there are no outstanding tasks for a duration of at least N, where N corresponds to the value set in the `periodOfTime` setting. Bug: Issue 312895374 Change-Id: Id3fe47605e6a82ca09e79f52b224af7beb77e2f4