simplify retry
test for cached
no need to cover entry into main