More work to make this a proper adapter pattern. More Java 7
try-with-resources.