terminate process `p`,p.terminate()