Refactor: Use CompletableFuture instead of Executor#execute()

Change-Id: I97a155498e01c43d8adc83a55dbc2022732c862d
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
index f1d895b..77c0d9d 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
@@ -316,7 +316,7 @@
             log.trace("Execute operations: {}", operations);
 
             // batchExecutor is single-threaded, so only one batch is in flight at a time
-            batchExecutor.execute(() -> {
+            CompletableFuture.runAsync(() -> {
                 try {
                 /*
                  1. wrap each intentdata in a runnable and submit
@@ -350,7 +350,7 @@
 //            batchService.removeIntentOperations(data);
                 }
                 accumulator.ready();
-            });
+            }, batchExecutor);
         }
     }