ensure SIGPIPE is ignored in gevent mode