The issue has been resolved. We are setting a timeout value of zero at some place in our code . This has caused the issue.
> > > > > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c08c6b9b-9105-485a-937b-f93fb3b47d32%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
