If you have very strong defenses the AI will hold off attacking. This means that waves and cross-planet attacks do not "finish" their assaults, but retreat and remain 'active". If this happenss often, the active ships will eventually be 10.000 or more.
However, once the number of "active" ships crosses a threshold, the AI will simply come for you. It will not be a coordinated assault.
Yet.