dispose method
Releases resources owned by this module.
The application owns a module as soon as it is yielded to
AppContext.create. This method must therefore tolerate registration or
initialization that did not start or complete.
Implementation
@override
void dispose(AppContext context) {
_transport?.close();
}