Close the InputStream in LogFileCollector
Merge branch 'master' into errormsg