Load the turbojpeg libraries at most once

...instead of every time a new service is constructed.  This cuts down
on the number of open files handles at any given time, especially when
working with many .ndpi files in the same JVM.
Close file handles in isThisType
NDPI: close lingering file handles