Stops accepting requests and closes the server.
force closes the connections that are still open instead of waiting for their responses to end.
force
Future<void> close({bool force = false}) => _server.close(force: force);