Killing flux queries that take a long time to finish

Hello ! The following doc shows how we could kill InfluxQL queries that take a long time InfluxQL query management | InfluxDB OSS 1.8 Documentation. It also specifies that this is not applicable to flux queries .

Is there a way to kill long running flux queries or any other way to ensure a flux query doesnt run too long to prevent CPU/MEM overload?

Will setting of the http client timeout to say 10 seconds , ensure that the flux query gets killed after 10 seconds or will it run indefinitely until the response is received?

Is there anyone who can help me with this?