How can I run an external command asynchronously from Python?,p.terminate()