i have a read_sql call inside for loop, which takes lot of time to return a value sometimes. Is it possible to skip the loop when it is taking more than 5 mins to execute read_s