make corePoolSize number configurable.