Add stalled job detection.