Introduce asserts with retries