Changes runIndefinitely config option to keepAlive.