there is a common.waitForJob() function that polls the cache key for other calls, would be better if that was reused.