I have reviewed the 17024 Standard and cannot find a requirement for a specific period of time following a Candidate failing an exam before retaking the same exam.

17024 contains no explicit limitation on the required delay between failing an exam and doing a retake.

However, your assessor will want to review your consideration of the number of alternative forms available, the likelihood of memorizing the items, and the possibility of practice effect on examination results.  A standard would be 6 weeks to 6 months.