try-with-resources 블록에 구문을 삽입합니다(Java 7 이상 필요).