turn off SIGPIPE behaviour