CDK-18: Remove use of deprecated Closeables.closeQuietly()