Unit tests for connection error propagation in _poll_error.