Switch server to ThreadPoolExecutor to allow monitoring active threads