If the breach goes to the essence of the contract, the party committing it cannot complain of this result; but if it is slight and unimportant, and especially if it happens after the performance is nearly completed, he may justly say that the penalty is out of all proportion to the wrong.