Disconnect from pool, if auth is failed
Set the pool idle and switch pool, if need
Mark pool as idle if stratum restart is failed