added over_query_limit to retry logic

PTAL @broady
Probably better to use the more specific type here. I think it's `ApiException`, right?