It's not even like she overheard Gildarts saying "One day I hope my kid becomes S rank" or "I only respect S rank wizards." She decided, completely on her own that she wouldn't tell him until she becaume S-rank. So her impossible objective needed to keep her life from falling a part is entirely of her own making, and she could literally just stop whenever she wanted to.