fix: Ignore transient network errors when fetching AWS state.

Given that state fetching is an idempotent operation, a transient
network error should not cause the entire build to fail. Instead,
retry when such errors are encountered.