implemented PEP.term()  to tear down the PEP instance