Please anyone help out to get any reference or example regarding the below scenario
I have the Spring boot application where i have to detect the client disconnection (browser close) and abort the query execution if any
So here my code as snowflake query execution then outputstream.write operation i tried to check the IOException and abort the query but my snowflake query will be executed as it is before the outputstream .So how can i get the notifictaion from query execution server when client disconnected is there any way please help out