stop method
void
stop()
Simulates the broker going down.
Every client is disconnected and new connections fail until start. Last wills are not published, because the broker itself is gone. Retained messages are kept.
Implementation
void stop() {
_running = false;
for (final client in _clients.toList()) {
client._leave();
}
}