Implement query cancel(but can not cancel a hive query actually)
Take 20 history from head