fix: JS kernel state should reflect killed state