ckolivas/cgminer — pull request #581 by Elbandi (2014-04-25 20:34:45+00:00)
Title: Fix idle bug, when redirected client can't auth

This bug comes up at the following situations:
The miner is redirected to other host by client.reconnect method. But the new host rejected the authorization. And 1 minutes later, cgminer detect as alive, because the pool isn't idle (successful subscribed). If this pool has higher priority, miner switch to this pool. But, because the miner doesnt authed yet, doesnt get any work, hash goes to 0.

This patch force disconnect the miner, if auth is failed.