clone hashtable in function access_avls_server and access_sql_server and release resource if done