Describe the bug
Seems like when connection is lost to the broker or the broker goes offline the disconnect is not properly detected and no attempt to reconnect is made.
To Reproduce
Connect to broker
Disconnect broker
See that broker is still shown as detected. Event loop seems to be stopped, which is logged when trying to publish something
Broker does not reconnect after 5 seconds as it should.
Describe the bug Seems like when connection is lost to the broker or the broker goes offline the disconnect is not properly detected and no attempt to reconnect is made.
To Reproduce
Expected behavior