Added function for quick killing, not tested on linux