Fixed issue #2441: A way to disable the sound that is played on errors