[PLAT-4875] Provide a constructor with a PoolExecutor instead of a setter