-q
The `-q` flag makes grep close the pipe early, which curl doesn't handle gracefully, but exits with an error like "(23) Failed writing body".
Just to be safe doesn't seem to have broken any evaluation checks so far.