modified the connection class and added send timeout (thanks to supun)
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/airavata