Remove all error listeners.
Remove all error listeners.

To prevent max listeners warning when running in test environment.

Note that this can be improved to prevent other (user) listeners being
removed.

cli-kit/cli-logger,freeformsystems/cli-logger