- Apply code formatting - Use try-with-resources in many other places that were missed in the pull request Closes gh-8045