title: Failed to publish publication 'mavenJava' to repository 'maven'
body: <p>I am trying to upload a library to mavencentral for the first time. I get to build and run some tasks from maven-publish gradle plugin. But, On publish task, I get below error.</p>
  
  <pre><code>* What went wrong:
  Execution failed for task ':publishMavenJavaPublicationToMavenRepository'.
  &gt; Failed to publish publication 'mavenJava' to repository 'maven'
     &gt; Could not write to resource 'https://oss.sonatype.org/service/local/staging/deploy/maven2/dev/spiti/utilities/data-reader/1.0.0/data-reader-1.0.0.jar'.
        &gt; Read timed out
  </code></pre>
  
  <p>Also, I tried the solution from here <a href="https://stackoverflow.com/questions/49273023/gradle-build-configured-signatory">Gradle build configured signatory</a> to complete :signArchives. Cmd <code>./gradlew assemble -x signArchives</code> runs successfully but issue seem to persist.</p>
  
  <p>Can someone guide me thru how to overcome this.</p>