How long is too long?

Today I confided in my husband that the next time I get pregnant I want to wait to tell everyone. The main reason is because last time we told everyone SUPER early -DH was excited because we’d been trying for a year- and it ended in a second trimester loss.

Part of me wants to wait to announce until after we know the gender- we found out about the day before my gender scan was scheduled.

I think my husband feels that’s too long of wait, and gives everyone very little notice. Is it too long?? Am I just being overly paranoid??