Based on patch from Sergio Barjola: Enable the default action for SIGPIPE This fixes bug 2888 and 1740