log.error(e);
System.err.println(e);
      public void sendLoop() throws Exception {         Thread task = new Thread(new Runnable() {            public void run() {               while (! closed) {                  try {                     synchronized (Coordinator.this) {                        channel.send(null, null, new Integer(++cnt));                        log.error("send cnt=" + cnt);                     }                     Thread.sleep(1000);                  } catch (ChannelNotConnectedException not) {                     break;                  } catch (ChannelClosedException closed) {                     break;                  } catch (Exception e) {                     log.error(e);                     continue;                  }               }            }         });         task.start();      }