Yes, if you apply too soon, you will lose the time.
The STV visa lasts for 3 months and from what we hear you will probably only get one final extension as the scheme ends in September for any new ones.
Try to apply first or second week in August.
And please confirm with your local Thai consulate if you can get another extension to it once you arrive in Thailand after the first 3 months.
Start your move to Thailand now by talking with us.