Python Terminate Process Powershell Version Control