Releases the database.
Future<Result<(), DbError>> close() async => (await _worker.close(_handle)).map((_) => ());