Make elasticsearch_jvm_threads work again.