diff --git a/cb4j-core/src/main/java/net/benas/cb4j/core/util/BatchRunner.java b/cb4j-core/src/main/java/net/benas/cb4j/core/util/BatchRunner.java
index <HASH>..<HASH> 100644
--- a/cb4j-core/src/main/java/net/benas/cb4j/core/util/BatchRunner.java
+++ b/cb4j-core/src/main/java/net/benas/cb4j/core/util/BatchRunner.java
@@ -74,6 +74,8 @@ public class BatchRunner {
         } catch (Exception e) {

             logger.log(Level.SEVERE, "An unexpected exception occurred during engine execution, root error : ", e);

             return null;

+        } finally {

+            executorService.shutdown();

         }

 

         try {

@@ -83,7 +85,6 @@ public class BatchRunner {
             return batchReport;

         }

 

-        executorService.shutdown();

         return batchReport;

 

     }
executor service must be shutdown in both cases : normal execution or when an exception is thrown