def kill(self):
try:<EOL><INDENT>kill(int(self.get()), <NUM_LIT:9>)<EOL><DEDENT>except Exception as e:<EOL><INDENT>self.die('<STR_LIT>'.format(str(e)))<EOL><DEDENT>self.remove()<EOL>
Kill the running process and remove the PID/lock file.