add retry logic around usages of executeQuery()