add retries to getmapid