Prevents hung Node.js processes