Closing out a transaction, because the buyer did not pay, is a type of cancellation. The minimum waiting time is 4 days. If the buyer doesn't pay within 96 hours, then the list of reasons for canceling the transaction will include "Buyer hasn't paid."
Here is the Help page about what to do if a buyer doesn't pay: