agents wait for jmx connection
minor changes
minor changes
changes after review
update after review
Merge pull request #513 from dlatnikov/JFG_707_timeout_connecting_to_jmx

Jfg 707 timeout connecting to jmx