Properly-ish clean up connections without atexit nonsense.
Properly-ish clean up connections without atexit nonsense.

Julian/home-assistant,Julian/home-assistant,Julian/home-assistant,Julian/home-assistant