fix to nodejs maxlisteners() issue