Shuting down client on too many error count