Fixes Bug 1037874 - pyhs2 with timeout

this patch upgrades our use of pyhs2 to a version than implements a timeout.  Then I added the timeout to the configuration and the code that acquires a connection.