Index: trunk/tools/czartool/Pantasks.pm
===================================================================
--- trunk/tools/czartool/Pantasks.pm	(revision 28784)
+++ trunk/tools/czartool/Pantasks.pm	(revision 28785)
@@ -67,5 +67,4 @@
     my ($self, $server) = @_;
 
-
     my @labels;
 
@@ -78,4 +77,10 @@
         if ($line =~ m/pantasks:\s+(.*)/) {
 
+            # HACK quit if we get 'show.labels: Command not found.'
+            if ($1 =~ m/.*show\.labels.*/i) {return \@labels;};
+            # HACK quit if we get 'Connection reset by peer'
+            if ($1 =~ m/.*Connection reset by peer.*/i) {return \@labels;};
+            # HACK quit if we get 'server is busy' message
+            if ($1 =~ m/.*server is busy.*/i) {return \@labels;};
             # HACK to get around 'dummy' label in stdscience
             if ($1 !~ m/.*dummy.*/) {push(@labels, $1);};
