Often times when either a seller or buyer doesn't preform at time of closing there are several options.
One of course is to cancel the deal
2.Generally it's been our experience work not completed at time of closing, Buyer will get credit.
3.Closing is delayed until any repairs are complete
most of our clients have given credit for any thing left undone.
hope that helps
Dave & Lisa