fix NullPointerException in ContractStatusRecorder.killContract when killing a nonexistent contract process