diff --git a/common/utils/T/tracer/multi.c b/common/utils/T/tracer/multi.c
index 7d3fd0f344573f2ad722f46db33c8afdc2bb0c9b..6a9de838c674b1473e54d99a147d91c9d431311e 100644
--- a/common/utils/T/tracer/multi.c
+++ b/common/utils/T/tracer/multi.c
@@ -372,7 +372,13 @@ tracer_error:
       remove_tracer(&m, j);
       j--;
     }
-    if (is_on_changed && s != -1) send_is_on(s, number_of_events, is_on);
+    if (is_on_changed && s != -1)
+      if (send_is_on(s, number_of_events, is_on) == -1) {
+        clear_remote_config();
+        shutdown(s, SHUT_RDWR);
+        close(s);
+        s = -1;
+      }
   }
 
   return 0;