Cancel and Close the Program