HUE-2251 [impala] Support query timeout

If QUERY_TIMEOUT_S > 0, the query will be timed out (i.e. cancelled) if Impala does not do any work
(compute or send back results) for that query within QUERY_TIMEOUT_S seconds.