Cleanups

- forward the connection lost from the broker
- Nicely shut down the connection three on dispose