/datum/database/proc/Close()

This closes the connection to the database, preventing further queries being called against it. This occurs automatically when the database is deleted.