Bugfix: restart_stratum: Release pool_test_lock on failure
return_via helper function family to assign a variable and goto
restart_stratum: Make use of return_via
Merge commit 'f0fe80c' into bfgminer