using now reflection to detect if Java version supports method allowsCoreThreadTImeout of ThreadPoolExecutor (see SM-2001 and SMX4-606)