add "ok=sigpipe" to test_must_fail and use it to fix flaky tests