fix retry loop clobbering map at get jobs