throw exception if any update query gets deadlock detection exception more than 100 times