handling SIGPIPE :/