stop method
Stops the server and closes the database connection.
The force parameter specifies whether to forcefully close the server.
Implementation
Future stop({bool force = true}) async {
if (server != null) {
await server!.close(force: force);
}
await mongoDb.close();
await mysqlDb.close();
sqliteDb.dispose();
_mongoDb = null;
_mysqlDb = null;
_sqliteDb = null;
server = null;
}