Bugfix: Avoid setting tv_idle before testing pool (it will be set if the test fails)
Merge commit '01d9044' into bfgminer