close

fun close()

Cancel the write scope and close the database.