LPS-34419 Switch back to THREADSAFE mode, as CONCURRENT is causing race ...

...condition. Do a force null out for JRuby runtime ThreadLocal to release perm space memory usage after each run.