Making resource closing less quitely to avoid losing potentially relevant
exceptions