Cancel the query that has the given queryid
drill_cancel(drill_con, query_id)
drill server connection object setup by drill_connection()
drill_connection()
the UUID of the query in standard UUID format that Drill assigns to each query.
Drill documentation