workaround for Linux-applications that do not catch SIGPIPE backported