Under federal law (3 U.S. Code § 5) known as the safe harbor provision, a state must determine its electors six days before the Electoral College members meet in person.  They can't drag the vote counting out forever. This should help.