You have to kill the process, and how you do that is dependent on the OS you are using. You should use subprocess instead (see os.kill() at Doug Hellmann's site).
doffing81 commented: good link +1
Tenck commented: Thanks +0
woooee 814 Nearly a Posting Maven
woooee 814 Nearly a Posting Maven
woooee 814 Nearly a Posting Maven
woooee 814 Nearly a Posting Maven
woooee 814 Nearly a Posting Maven