Make connection timeout configurable on ManageJenkins site.
The default value of the connection timeout is 300 seconds. It can be changed with an additional java option "-Dtimeout"