How to fix Error: Listener already called (once event already fired) in Node.js | DevErrors