Rework @NFlow ThresholdThreadPoolTaskExecutor to ThresholdThreadPoolExecutor which does not implement unnecessary interfaces. The old code sometime conflicted in spring with the @NFlow ThreadFactory