Python Terminate Process Powershell Script Running Text