Index: branches/FACT++_scripts_refactoring/CheckStates.js
===================================================================
--- branches/FACT++_scripts_refactoring/CheckStates.js	(revision 18235)
+++ branches/FACT++_scripts_refactoring/CheckStates.js	(revision 18236)
@@ -106,6 +106,31 @@
         },
 
-        checkSend : function (servers, timeout)
-        {
+        checkSend : function (servers, timeout, verbose){
+            if (verbose)
+                console.out("checkSend: [timeout="+timeout+"]");
+            if (verbose > 1)
+            {   
+                for (var i=0; i<servers.length; i++){
+                    console.out("    "+servers[i]);
+                }
+            }
+            try
+            {
+                this._checkSend(servers, timeout);
+            }
+            catch(error)
+            {
+                // we do nothing and let the exception propagate upwards.
+            }
+            finally
+            {
+                if (verbose)
+                    console.out("Checking send: done");
+            }
+        }
+
+        _checkSend : function (servers, timeout)
+        {
+            
             if (timeout===undefined)
                 timeout = 5000;
