If you don't want people to bet right before the bet ends, then simply reduce the potential winnings gradually right near the end.
This is already the case, which shows you still haven't read the FAQ.

Then why is there any worry about last-minute bidders "scamming" other people at all?