Refactors default thread pool size.