Check the value of max_ms timeout on return to scanhash code in avalon.