Chapter 382; Termination of contract