TEST: add more retries and logs.