Only one `sys.stderr` stream handler should exist. Fixes #3155
Merge pull request #3193 from s0undt3ch/issues/3155

Only one `sys.stderr` stream handler should exist. Fixes #3155