The close method is used to close the server.
@override Future<void> close() async { return server?.shutdown(); }