What! What's with the "kill -9"? That's very brutal, I don't see any call for that... 

I don't know why you have used this because no comments explain your intent. I see two options here:
1) You have a good reason to "use the force". Please add a comment in the script explaining it. 
2) You don't have a reason. Then use a plain kill instead.