newer pyhs2 adding support for a timeout