William recently sold his successful business to Janice. The contract for the sale contained an unreasonable restriction that did not allow William to open a similar business for fifteen years. In this instance, the courts would likely: