Can I file an extension if E-file submission rejected ?

My efile was rejected as my son's SSN was not recognized.  He just got it and we have found out since it can take 30 days for SSA to propagate that to all databases.  I decided to file an extension and efile later but just got this from turbo tax.

" You only have until April 20, 2019 to update and re-file your rejected return.

Any returns not re-filed by that date will be considered late by the IRS, and may be subject to extra penalty fees, plus interest. Learn more

Until a return is accepted, the government considers your rejected return as not filed. "

It mentioned nothing about extension so am I allowed to file an extension after having an efile rejected?

thanks

Darren