Thank you for the above suggested methods to handle timeout. I m using only very basic and simple CRUD statements in my application. If my query logic being simple enough cannot end up in an infinite loop, should I still worry about handling db operation being stuck due to any other factor?