GIRAPH-966: Add a way to ignore some thread exceptions