properly dispose collection
setMaxListeners to 0