Add a new parameter to specify which index to kill

OTS: Tina
TESTED: AWS