events: fix setMaxListeners(0)