Compatibility method db_close()