Yes, that's true. I did a quick experiment and found that onRobotDeath event do lost when experiencing heavy skipped turns.
So just add if (Math.random() < 0.7) { return; } in onRobotDeath and see whether your bot totally breaks.
if (Math.random() < 0.7) { return; }