diff --git a/dap-sdk b/dap-sdk
index 142a1919f08e19970bd68e898ab6061118fe492e..4d7dec28f790622ac2f729fbad1d95dec97c2cfa 160000
--- a/dap-sdk
+++ b/dap-sdk
@@ -1 +1 @@
-Subproject commit 142a1919f08e19970bd68e898ab6061118fe492e
+Subproject commit 4d7dec28f790622ac2f729fbad1d95dec97c2cfa
diff --git a/modules/net/dap_chain_node_cli_cmd.c b/modules/net/dap_chain_node_cli_cmd.c
index 7852ab701539fc52c8c03bd8660077a2c20a016e..5bd7ed2db131b9e55a2e187e00e540394fb7ba28 100644
--- a/modules/net/dap_chain_node_cli_cmd.c
+++ b/modules/net/dap_chain_node_cli_cmd.c
@@ -8606,7 +8606,7 @@ int com_exec_cmd(int argc, char **argv, void **reply) {
         log_it(L_ERROR, "No response from node");
         dap_json_rpc_error_add(*a_json_arr_reply, -8, "No reponse from node");
         dap_chain_node_client_close_unsafe(l_node_client);
-        DAP_DELETE(node_info);
+        DAP_DEL_Z(node_info);
         return -8;
     }
 
@@ -8619,7 +8619,7 @@ int com_exec_cmd(int argc, char **argv, void **reply) {
     } else {
         json_object_array_add(*a_json_arr_reply, json_object_new_string("Empty reply"));
     }
-
-    dap_chain_node_client_close_mt(l_node_client);
+    DAP_DEL_Z(node_info);
+    dap_json_rpc_request_free(l_request);
     return 0;
 }