socket.io reference was hanging around