Fix clearTimeout() for Node.js mode