Bulletproof halt syscall