logger classloader, InputStream GC fixes