Prevent exception causing email notifs when tests hijack STDOUT