onStop method
Tear down the transport this host owns. Only called when ownsTransport.
Throws UnimplementedError unless overridden.
Implementation
@protected
@override
Future<void> onStop() async {
await _httpServer?.close();
_httpServer = null;
}