trap "" PIPE

{
sleep 1
echo Cant write this - get EPIPE
echo Ok: $? >&2
} | { true; }