Implemented task kill