close method
Removes this publication from the embedded node.
Idempotent for a given handle. If another caller has replaced the same path/port before this is called, the current mapping at that path is removed.
Implementation
Future<void> close() => _closeFuture ??= _closeFn();