diff --git a/distributed/src/test/java/com/orientechnologies/orient/server/distributed/impl/task/ODDLPhasesExecutionTests.java b/distributed/src/test/java/com/orientechnologies/orient/server/distributed/impl/task/ODDLPhasesExecutionTests.java
index <HASH>..<HASH> 100644
--- a/distributed/src/test/java/com/orientechnologies/orient/server/distributed/impl/task/ODDLPhasesExecutionTests.java
+++ b/distributed/src/test/java/com/orientechnologies/orient/server/distributed/impl/task/ODDLPhasesExecutionTests.java
@@ -51,6 +51,7 @@ public class ODDLPhasesExecutionTests {
     messageSecond.execute(
         new ODistributedRequestId(1, 11), server, session.getDistributedManager(), session);
     assertTrue(session.existsCluster("bla"));
+    session.close();
   }
 
   @After
chore: minor fix in cleanups of distributed tests