bug fix: handle failure detected during checkpoint