Improve how pinned providers are handled

You could add a helper like the one we have in the mainwindow:
```python
conntrack = self._connect_and_track
```