Change getThreadCount to getCoreThreadCount and getMaximumThreadCount in order to configure ThreadPoolExecutor core and maximum number of threads

    backwards compatibility tests

    Fix test

    Allow seting keep alive time on executor service