title: AmazonS3ClientBuilder not responding
body: <p>I'm trying to upload my object to s3 bucket, but no response is getting back from client builder.</p>
  
  <pre><code>CompletableFuture.runAsync(()-&gt;{
          try {
              //runs up to here
              System.out.println("start connection");
              AmazonS3 s3 = AmazonS3ClientBuilder.standard().withRegion(AppConstants.AWS_REGION).build();
              System.out.println("connected");
              //nothing executed below!
              ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
              ObjectMetadata metadata = new ObjectMetadata();
              metadata.setContentType(mimeType);
              metadata.addUserMetadata("x-amz-meta-title", "someTitle");
              metadata.setContentLength(bytes.length);
              PutObjectRequest request = new PutObjectRequest(bucket, fileName, bais , metadata);
              request.setCannedAcl(CannedAccessControlList.BucketOwnerFullControl);
              s3.putObject(request);
          }catch (AmazonServiceException e) {
              //no errors logged
              e.printStackTrace();
          }catch (SdkClientException e) {
              // no errors logged
              e.printStackTrace();
          }
          catch(Exception e) {
             //no errors logged
              e.printStackTrace();
          }
  });
  </code></pre>
  
  <p>The server is logging the following:</p>
  
  <pre><code> (ForkJoinPool.commonPool-worker-5) start connection
  </code></pre>
  
  <p>and then nothing happens</p>
  
  <p>PS: Libraries I'm using:</p>
  
  <pre><code>aws-java-sdk-core-1.11.482
  aws-java-sdk-s3-1.11.482
  </code></pre>
  
  <p>I also have my credential file in ~/.aws/credentials</p>