Added a basic retry query on deadlock facility