I\'m a beginner when it comes to HTTP connections. Currently i\'m working with SAAJ api to have my soap based client, where to handle timeouts i ended up using URLStreamHand