Stops the hub and releases the endpoint.
Future<void> stop({bool force = true}) async { broker.stop(); await _endpoint?.close(force: force); _endpoint = null; }