title: Python - Pandas terminate `read_sql` based on user action
body: <p>We are using pandas <a href="https://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_sql.html" rel="nofollow noreferrer">read_sql</a> for retrieving query results that are triggered by a frontend. Just to simplify use case, assume user gives some parameters (table name, clauses, etc.) that we then convert to sql and then execute it using read_sql. 
  After pandas sends result, we send it back to frontend where it's displayed to user. All good till here.</p>
  
  <p>We also give user option to "stop", so when query is taking longer, we "stop" on frontend, and allow user to "query" again. </p>
  
  <p>However, the problem is, we have no way of quitting/terminating this query on the backend. </p>
  
  <p>Is there a way we can cancel execution based on above scenario? </p>