Add java native thread pool