Describe the steps that need to be taken in order to close the contract.