close method
Closes the server and returns a future that completes when all resources are released.
Implementation
@override
Future<void> close({bool force = false}) async {
await server.close(force: force);
logger?.fine('Closing application...');
await application.close();
logger?.fine('Application closed.');
}