diff --git a/jason-interpreter/src/main/java/jason/asSemantics/Agent.java b/jason-interpreter/src/main/java/jason/asSemantics/Agent.java
index f70b1854..5be6e2e2 100644
--- a/jason-interpreter/src/main/java/jason/asSemantics/Agent.java
+++ b/jason-interpreter/src/main/java/jason/asSemantics/Agent.java
@@ -35,6 +35,8 @@
import java.util.*;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
+import java.util.concurrent.locks.Lock;
+import java.util.concurrent.locks.ReentrantLock;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -707,7 +709,8 @@ public List