Using keep-alive connection with elasticsearch server