Hi,@S Abijith. Welcome to Microsoft Q&A.
If you want to reconnect every time you send a request, you could try the following method.
Method 1: Set request.KeepAlive = false;
Related Documents: HttpWebRequest.KeepAlive Property (System.Net) | Microsoft Learn
Method 2:Set request.ServicePoint.ConnectionLeaseTimeout = 0;
Related Documents: ServicePoint.ConnectionLeaseTimeout Property (System.Net) | Microsoft Learn
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.