how to terminate process from python using pid?,"os.kill(pid, signal.SIGTERM)"