proper return of value from re-tried query