Add retry logic for note downloads