Use `process.setMaxListeners(0)` for tests to avoid annoying warnings.