diff --git a/net/client/dap_client_http.c b/net/client/dap_client_http.c
index 10233b43b6b6595f87d7157122cb783fb65e63b6..dca3ccd3ccbdb55e86845b5553e3c889640baea9 100644
--- a/net/client/dap_client_http.c
+++ b/net/client/dap_client_http.c
@@ -217,9 +217,6 @@ static void s_http_connected(dap_events_socket_t * a_esocket)
         if ((l_client_http->request && l_client_http->request_size))
             snprintf(l_get_str, sizeof(l_get_str), "?%s", l_client_http->request) ;
     }
-#ifdef DAP_EVENTS_CAPS_IOCP
-    a_esocket->no_close = true;
-#endif
 
     char *l_out_buf = NULL;
     int l_header_size = asprintf(&l_out_buf, "%s /%s%s HTTP/1.1\r\n" "Host: %s\r\n" "%s\r\n",