Prevent kill() from throwing an exception if already killed