added retries to search and retrieval methods