Refactor JavaConverter processing.

Attempting to narrow down a possible deadlock.