slight refactoring and internal usage of AsyncServletThreadPoolFactory