In my application some times, it is taking more than 2 hours to update a table some times. I want to set a time out if a query takes more than 10 minutes. We are using Python +