If connection #unbind gets called due to a network failure, while there are open channels, their on_close (or other callbacks) do not appear to be invoked.
I am experiencing this issu because I'm rebooting some devices remotely and the reboot command has immediate effects on the host.