Grab socket.io from https://github.com/Pingdom/socket.io/tree/0.9+7cca186+6256f56 instead.  It contains a fix for the leaking pubsub issue.