ustream: only report a write error once via state_change callback