Created failing unit test for ETO-719860.
jenkins
Undo bad use of try with resources