Effective handling of failure