fix NullPointerException in NettyEventListener.closeChannel()