Tweaked the timing of flow expiration.