log retries to /tmp/intermittent.txt