Ensure termination of monitoring loop on app failure.
Ensure termination of monitoring loop on app failure.

swift-lang/swift-e-lab,Parsl/parsl,swift-lang/swift-e-lab,Parsl/parsl,Parsl/parsl,Parsl/parsl