Close the InputStream in LogFileCollector

This avoid getting warnings from CloseGuard