If a Wizard fails to copy a spell from a Spellbook, when can they try again?

If a Wizard fails the Arcana check to copy a spell from a spellbook, can they try again immediately if they have the time and money to commit to the task again?

Or do they have to wait until they level up before retrying? (which I believe was the rule in older editions)