The CANCEL statement ensures that a referenced program will be in an initial state the next time it is called, and to unload any resources for the module.