suppress 'EventEmitter memory leak detected' warning

This happens if you have more than 10 menu items.