What to do you think about adding check if the query time exceed certain limit then it stops the execution ?