Returns a Future that completes when this server stops.
Future<bool> waitStopped() => _stoppedCompleter.future;