JCR-2225: The total amount of indexing threads should remain consistent

https://jira.exoplatform.org/browse/JCR-2225