check slave attemptsslave reset on fail