tests: add retry on read failure