set failed max count to 5

Signed-off-by: xiehuc <xiehuc@gmail.com>