Be resilient to pipeline exceptions (PLATFORM-922, PLATFORM-923)