HUE-1052 [impala] TException if query handle is invalid