BATCHEE-168 fix parallel classloading issue

This prevents duplicate class definition issues which might happen when
e.g. a Partitioned Batch triggers loading the same class at the same time
in parallel threads.
2 files changed