Check that we've cleared the pipe error after a clear request, not the err value which is unchanged.