title: Reponse of post request slow
body: <p>I'm not trying to expose too many details of what I am trying to make, but basically I have a bot that sends a post request at a certain time. Basically, I'm racing against other people to send this post request first. When I test this code against no one, it gets responses almost instant. However, it seems when I go for these post requests against more people, it takes longer than  normal to get a response.</p>
  <p>Code to open connection:</p>
  <pre><code>  httpURLConnection = (HttpURLConnection) (proxy != null ? url.openConnection(proxy) : url.openConnection());
          httpURLConnection.setDoOutput(true);
          httpURLConnection.setRequestMethod(&quot;POST&quot;);
          httpURLConnection.setRequestProperty(&quot;Content-Type&quot;, &quot;application/json; utf-8&quot;);
          httpURLConnection.setRequestProperty(&quot;Accept&quot;, &quot;application/json&quot;);
  </code></pre>
  <p>Code to get response:</p>
  <pre><code>  @SneakyThrows
      public String getResponse() {
          try (BufferedReader br = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream(), &quot;utf-8&quot;))) {
              StringBuilder response = new StringBuilder();
              String responseLine = null;
              while ((responseLine = br.readLine()) != null) {
                  response.append(responseLine.trim());
              }
              return response.toString();
          }
      }
  </code></pre>