temp fix for EventEmitter memleak bug