Why not extend the `ConsoleTerminateEvent` class and reuse `exitCode` part?