fail handler in restart