Is the `close` function on a try with resources idiom not called if a constructor throws an exception?
Is the close method on a try-with-resources idiom not called if a constructor throws an exception?