Break properly when fail