Close InputStreams after use (stops JVM in test VM running out of heap space)