Use an AutoCloseable implementation that doesn't throw Exception
Typo & missing param