Index: trunk/Ohana/src/opihi/pantasks/CheckTasks.c
===================================================================
--- trunk/Ohana/src/opihi/pantasks/CheckTasks.c	(revision 11317)
+++ trunk/Ohana/src/opihi/pantasks/CheckTasks.c	(revision 11324)
@@ -25,10 +25,5 @@
     }
     if (task[0].NpendingMax && (task[0].Npending >= task[0].NpendingMax)) {
-	gettimeofday (&task[0].last, (void *) NULL);
-	continue;
-    }
-
-    /* check if there are errors with this task */
-    if (!ValidateTask (task, TRUE)) { 
+	fprintf (stderr, "npending: %d, max npending: %d\n", task[0].Npending, task[0].NpendingMax);
 	gettimeofday (&task[0].last, (void *) NULL);
 	continue;
@@ -42,4 +37,10 @@
 	  continue;
       }
+    }
+
+    /* check if there are errors with this task */
+    if (!ValidateTask (task, TRUE)) { 
+	gettimeofday (&task[0].last, (void *) NULL);
+	continue;
     }
 
