public void run() {
try {
if (context.getServerChannel() == null) {
return;
}
ChannelFuture cf = heartbeat.execute(context);
cf.addListener(new ChannelFutureListener() {
public void operationComplete(ChannelFuture future)
throws Exception {
if (!future.isSuccess()) {
failCount++;